package main

import (
	"flag"
	"fmt"
	"io/ioutil"
	"strings"
)

var file = flag.String("f", "", "json数据文件")

func main() {
	flag.Parse()
	bs, err := ioutil.ReadFile(*file)
	if err != nil {
		fmt.Println(err)
		panic(err)
	}
	content := string(bs)

	questions := strings.Split(content, "\n")
	for i := 0; i < len(questions); i++ {
		fmt.Println(questions[i])

	}
}
